package IC.lir.Instrunction;

import java.util.LinkedList;

public class LibraryFunctionCallInstruction extends FunctionCallInstruction<Data>{

	private String _funcName;
	
	public LibraryFunctionCallInstruction(Register retRegister, String funcName, LinkedList<Data> params, IC.AST.FunctionCall node)
	{
		super(retRegister, node);
		_funcName = funcName;
		_params.addAll(params);
	}
	
	public String toString()
	{
		return String.format("Library __%s(%s), %s", _funcName, ParamsListToString(_params), _retRegister);
	}
}
